//
//  LoginForThirdManger.h
//  LoginRegisterModule
//
//  Created by InitialC on 16/11/3.
//  Copyright © 2016年 InitialC. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <SMS_SDK/SMSSDK.h>
#import <ShareSDK/ShareSDK.h>
//#import <UMSocialCore/UMSocialCore.h>

typedef void(^LoginForThirdEvent)(NSString *);

@interface LoginForThirdManger : NSObject
/**
 use: appkey secret
 func: key: wxKey, wxSecret, wbID, wbSecret, wbRedirectURL, qqKey, qqSecret
 */

//+ (instancetype)shareInstcetype;
+ (void)initialSMShare:(NSDictionary *)keyDict;
+ (void)loginWithPlatformType:(SSDKPlatformType)type withBlock:(void(^)(SSDKUser* user,NSError *error, SSDKResponseState LoginState))block;
+ (void)getVerificationCodeByMethod:(SMSGetCodeMethod)type withPhoneInformation: (NSDictionary *)phoneInfo withBlock:(void(^)(NSError *error))block;
+ (void)commitVerificationCode: (NSString *)verifyCode withPhoneZone: (NSDictionary *)phoneZone withBlock: (void(^)(NSError *error))block;
+ (void)platShare :(NSDictionary *)dic withBlock:(void (^)(BOOL isShareSuccess))block;
+ (void)betaVerification:(NSString *)phoneNumber testURL:(NSString *)url completion:(void (^)(BOOL isVerifiability, NSError *error))block;

@end
